package com.boot.web.dao;

import com.boot.web.entity.GoodsSkuSelected;
import com.boot.base.dao.BaseDao;
import org.apache.ibatis.annotations.Param;

/**
 * 商品SKU配置数据层接口
 * @author 【zhouJie】
 * @date 2021-09-28 17:53:30
 */
public interface GoodsSkuSelectedDao extends BaseDao<GoodsSkuSelected> {

    GoodsSkuSelected queryGoodsSkuSelectedByProductId(Integer productId);

    GoodsSkuSelected queryGoodsSkuSelectedByIds(@Param("goodsId") Integer goodsId, @Param("specAtt") String specAtt);

    void deleteByProductId(Integer goodsId);

}
